<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head>
	<meta charset="UTF-8">
	<title>医院添加主页面</title>
    <link th:href="@{/css/adminhome.css}" rel="stylesheet">
    <link th:href="@{/css/patientlist.css}" rel="stylesheet">
    <script type="text/javascript" th:src="@{/js/jquery-3.2.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/hospitaladd.js}"></script>
    <style type="text/css">
        #hospitalaudit tr,#hospitalaudit td{
            border: 1px purple solid;
            border-spacing: 0;
            height: 40px;
            text-align: center;
        }
        #hospitalaudit input{
            width: 300px;
            height: 20px;
            text-align: center;
        }
        .button{
            color: #d9eef7;
            border: solid 1px #0076a3;
            background: #0095cd;
            background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
            background: -moz-linear-gradient(top,  #00adee,  #0078a5);
            filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
            font-size: 20px;
            text-decoration: none;
        }
    </style>
</head>
<body th:style="'background-image: url(/img/bg.jpg)' ">
<!--头部-->
  <div id="head1">
    <h1><b>管理系统</b></h1>
    <a id="exit" th:href="@{logout.do}" onclick="return window.confirm('您确定要退出登陆吗?')">退出登陆</a>
  </div>
  <div id="head2">
    <ul class="">
      <li class="management"><a th:href="@{/viewHospital}"><h2>医院管理</h2></a></li>
      <li class="management"><a th:href="@{/patientlist}"><h2>用户管理</h2></a></li>
      <li class="management"><a th:href="@{/doctorManage/ListDepartment}"><h2>医生管理</h2></a></li>
      <li class="management"><a th:href="@{/rolelist}"><h2>角色管理</h2></a></li>
      <li class="management"><a th:href="@{/systemnoticelist(noticeType = 1)}"><h2>系统公告</h2></a></li>
      <li class="management"><a th:href="@{/notice/enterNotice/{pageNum}(pageNum = 1)}"><h2>公告管理</h2></a></li>
    </ul>
  </div>
  <!--身体-->
  <div id="body">
      <h1>添加医院</h1>
      <br><br>

      <div id="query">
          <form th:action="@{/addHospital}">
              <table id="hospitalaudit" border="1" cellpadding="0" cellspacing="0">
                  <tr>
                      <td>医院名称:</td><td><input type="text" name="hName" id="hName"></td>
                  </tr>
                  <tr>
                      <td>医院电话:</td><td><input type="text" name="hTel" id="hTel"></td>
                  </tr>
                  <tr>
                      <td>医院简介:</td><td><input type="text" name="hDesc" id="hDesc"></td>
                  </tr>
                  <tr>
                      <td>医院地址:</td><td><input type="text" name="hAddress" id="hAddress"></td>
                  </tr>
              </table>
              <input class="button" type="submit" th:value="提交" onclick="return window.confirm('您确定为添加吗?')">
              <input class="button" type="button" id="back" th:value="返回">
              <input type="hidden" name="hStatus" th:value="'1'">
          </form>
      </div>
  </div>
  <!--尾部-->
  <div id="footer">
        <ul class="footer">
          <li><a href="http://www.nhc.gov.cn/">国家卫生健康委员会</a><span class="vertical-bar">|</span></li>
          <li><a href="http://www.cma.org.cn/">中华医学会</a><span class="vertical-bar">|</span></li>
          <li><a href="http://wsjkw.henan.gov.cn/">河南省卫生健康委员会</a></li>
        </ul>
  </div>
</body>
</html>